package com.example.backadmindemo.mapper;

import com.example.backadmindemo.pojo.BigEvent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface BigEventMapper {
    List<BigEvent> selectNormal(Map<String,Object> map);

    List<BigEvent> selectAbnormal(Map<String,Object> map);

    Integer getNormalSum();

    Integer getAbnormalSum();

    void setAbnormal(int id);

    void cancelAbnormal(int id);

}
